|
DX11 REGISTER FILE PATH
Registers a new search path in which to look for files to load.
If you for example call LOAD IMAGE("my-image.png") and "my-image.png" doesn't exist in the current working directory,
it will be looked for in all registered file paths in turn and only if it cannot be found in any of these folders will the loading fail.
All functions that load data from a file (LOAD OBJECT, LOAD IMAGE, LOAD GEOMETRY SHADER, etc.) will consider the file paths if the provided
file name isn't found in the current working directory, or in your project's temporary media unpacking directory.
Note that this function cannot be used prior to calling DX11 INIT.
DX11 REGISTER FILE PATH path
path String The path to register. This should be a path name such as "C:\" or "C:\Users\Rudolpho", and not a file name like "E:\MyFile.txt".
This function does not return a value.
CORE Functions Menu
DX11 Function Categories
|